Police apologize, High Court dismisses case against officers for posing with accused